package cn.akwangl.service.impl;

import cn.akwangl.mapper.VehicleTrackMapper;
import cn.akwangl.pojo.VehicleTrack;
import cn.akwangl.pojo.bo.VehicleTrackQuery;
import cn.akwangl.service.IVehicleTrackService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 车辆迹信息 服务实现类
 * </p>
 *
 * @author 阿坤同学
 * @since 2022-07-08
 */
@Service
public class VehicleTrackServiceImpl extends ServiceImpl<VehicleTrackMapper, VehicleTrack> implements IVehicleTrackService {

    @Override
    public Page<VehicleTrack> list(VehicleTrackQuery query) {
        return page(new Page(query.getPage(), query.getPageSize()));
    }
}
